﻿using System.Windows.Controls;
using Snippet2Vsi.Interface;
using Snippet2Vsi.ViewModels;

namespace Snippet2Vsi.UserControls
{
    /// <summary>
    /// Interaction logic for Converter.xaml
    /// </summary>
    public partial class Vsi2SnippetConverter : IVsi2SnippetConverter
    {

        #region Members

        private readonly Vsi2SnippetConverterViewModel _model;

        #endregion

        public Vsi2SnippetConverter()
        {
            _model = new Vsi2SnippetConverterViewModel(this);
            DataContext = _model;
            InitializeComponent();
        }



        #region IVsi2SnippetConverter Members

        TextBox IVsi2SnippetConverter.VsiTextBox
        {
            get {return txtVsi; }
        }

        TextBox IVsi2SnippetConverter.ExtractTextBox
        {
            get { return txtExtract; }
        }

        #endregion
    }
}
